package com.wolfpire.knowledge.service;

import java.util.List;

import com.wolfpire.system.common.Page;
import com.wolfpire.system.common.base.service.IBaseHibernateService;
import com.wolfpire.system.model.Knowledge;
import com.wolfpire.system.model.Subject;
import com.wolfpire.system.model.User;

/**
 * 知识点模块 业务层接口
 * @author xp
 *
 */
public interface KnowledgeService extends IBaseHibernateService<Knowledge, Long> {
	
	
	/**
	 * 获取账户信息
	 * @param account
	 * @return
	 */
	public Knowledge getByName(String name);
	
	/**
	 * 查询用户列表(带分页)
	 * @param page<User> 
	 * @param filterUser
	 * @return
	 */
	public Page<Knowledge> setPageDataList(Page<Knowledge> page, Knowledge filterKnowledge);
	
	/**
	 * 根据专业ID获取用户
	 * @param orgId
	 * @return
	 */
	public List<Knowledge> getKnowledgesBySubjectId(Long subjectId);
	
	/**
	 * 获取完整信息的用户
	 * @param id	用户主键Id
	 * @return
	 */
	public Knowledge getCompleteKnowledge(Long id);
	
	
	
}
